package com.pretty.test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 宠物百科实体类
 * @author dujianyu
 * @since 2021-04-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class PetsBaike extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 词名
     */
    private String name;

    /**
     * 动物种类
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long animalType;

    /**
     * 图片
     */
    private String img;

    /**
     * 描述
     */
    private String description;

    /**
     * 内容
     */
    private String content;



}
